package com.taotao.search.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.taotao.common.bean.TaotaoResult;
import com.taotao.search.service.ItemServer;

@Controller
@ResponseBody
@RequestMapping("/manage")
public class ItemController {
	
	@Autowired
	private ItemServer itemServer;
	
	@RequestMapping("/importItem")
	public TaotaoResult importSearchItem() {
		TaotaoResult list = itemServer.importItemList();
		return list;
	}

}
